home *** CD-ROM | disk | FTP | other *** search
/ Nebula 2 / Nebula Two.iso / SourceCode / GameKit / Examples / NX_Invaders / NXIGameView.h < prev    next >
Encoding:
Text File  |  1995-06-12  |  548 b   |  26 lines

  1.  
  2. #import <gamekit/gamekit.h>
  3.  
  4. // states -- tells autoUpdate what to do
  5. #define GAME_OVER GAMEOVER    // I forget which one to use, so define both
  6.  
  7. #define WAITFORDEMO 600    // Wait x cycles before gameover to start demo
  8.  
  9. @interface NXIGameView:GameView
  10. {
  11.     id player;
  12.     BOOL cheatMode;
  13. }
  14.  
  15. - initFrame:(const NXRect *)frm;
  16. - loadPix;
  17. - autoUpdate:sender;
  18. - drawSelf:(const NXRect *)rects :(int)rectCount;
  19. - updateSelf:(NXRect *)rects :(int)rectCount; 
  20. - keyDown:(NXEvent *)myevent;
  21. - setUpScreen;
  22. - restartGame;
  23. - restartGameForDemo:(BOOL)doingDemo;
  24.  
  25. @end
  26.